<template>
  <div class="reportFormPage">
    <!--    <topOperation/>-->
    <div class="report-dom">
      <el-row>
        <el-col :span="5" :offset="19">
          <div class="pageNumBox">
            <span>第</span>
            <span class="placeholder-min text-center">&nbsp;{{ form.page }}&nbsp;</span>
            <span>页，共</span>
            <span class="placeholder-min text-center">&nbsp;{{ form.totalPage }}&nbsp;</span>
            <span>页</span>
          </div>
        </el-col>
      </el-row>
      <div class="topTwoBox">
        <div class="centerName">土承载比（CBR）试验检测记录表(二）</div>
        <div class="codeText">
          <tr>
            JGLQ01008
          </tr>
        </div>
      </div>
      <div class="threeTopBox">
        <div class="left-border">
          <div class="box-title">检测单位名称：</div>
          <div class>{{ form.jiancdwmc }}</div>
        </div>
        <div class="right-border">
          <span>记录编号：</span>
          <span class="placeholder">{{ form.jilbh }}</span>
        </div>
      </div>
      <div class="table-border">
        <!-- .........................1111111111111111111111111111111......................................................... -->
        <table height="220px" class="top-table" align="center">
          <tbody>
            <tr>
              <td height="30" align="center" width="15%">
                <span style="width: 90px; display: inline-block">工程名称</span>
              </td>
              <td width="35%" class="text-center">
                <span>{{ form.gongcmc }}</span>
              </td>
              <td align="center" width="15%">
                <span style="width: 90px; display: inline-block">工程部位/用途</span>
              </td>
              <td width="35%" class="text-center">
                <span>{{ form.gongcbwyt }}</span>
              </td>
            </tr>
            <tr>
              <td height="50" align="center">样品信息</td>
              <td class="specimen-border" colspan="3">
                <span>样品名称：</span>
                <span :class="{ placeholder: !form.yangpmc }">{{ form.yangpmc }}</span>
                <span>；样品编号：</span>
                <span :class="{ 'placeholder-long': !form.yangpbh }">{{ form.yangpbh }}</span>

                <span>；样品数量：</span>
                <span :class="{ placeholder: !form.yangpsl }">{{ form.yangpsl }}</span>
                <span>；样品状态：</span>
                <span :class="{ placeholder: !form.yangpzt }">{{ form.yangpzt }}</span>
                <span>；来样时间：</span>
                <span :class="{ placeholder: !form.yangpsj }">{{ form.yangpsj }}</span>
              </td>
            </tr>

            <tr>
              <td height="25" align="center" width="15%">
                <span style="width: 90px; display: inline-block">试验检测日期</span>
              </td>
              <!-- <td width="35%" class="text-center">{{ form.shiyjcrq }}</td> -->
              <td width="35%" class="text-center">
                <el-input v-model="form.shiyjcrq" />
              </td>
              <td align="center" width="15%">
                <span style="width: 90px; display: inline-block">试验条件</span>
              </td>
              <td v-if="isPdf" width="35%">
                温度：
                <span style="display: inline-block; width: 10%">{{ form.shiytjwd }}</span>
                ℃；湿度：
                <span style="display: inline-block; width: 10%">{{ form.shiytjsd }}</span>%RH
              </td>
              <td v-else width="35%">
                温度：
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.shiytjwd" class="height100"
                  style="width: 15%" />℃；湿度：
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.shiytjsd" class="height100"
                  style="width: 15%" />%RH
              </td>
            </tr>

            <tr>
              <td height="50" align="center" width="15%">
                <span style="width: 90px; display: inline-block">检测依据</span>
              </td>
              <td width="35%">
                <span v-if="isPdf">{{ form.jiancyj }}</span>
                <el-input v-else type="textarea" v-model="form.jiancyj" :rows="2" class="mark"
                  @dblclick.native="showBsJiancyjView" readonly />
              </td>
              <td align="center" width="15%">
                <span style="width: 90px; display: inline-block">判定依据</span>
              </td>
              <td width="35%">
                <span v-if="isPdf">{{ form.pandyj }}</span>
                <el-input v-else type="textarea" v-model="form.pandyj" :rows="2" @dblclick.native="showBsJudgeBaseView"
                  @focus="handleFocus('pandyj')" class="mark" />
              </td>
            </tr>
            <tr class="bottom-border">
              <td height="50" align="center">
                <div>主要仪器设备</div>
                <div>名称及编号</div>
              </td>
              <td colspan="3">
                <span v-if="isPdf">{{ form.zhuyyqsbmcjbh }}</span>
                <el-input v-else type="textarea" :rows="2" v-model="form.zhuyyqsbmcjbh" class="height100 width100 mark"
                  @dblclick.native="showBsInstrumentView" readonly></el-input>
              </td>
            </tr>
          </tbody>
        </table>
        <!-- .................................22222222222222222222222222222222............................................... -->
        <table height="620px" class="middle-table">
          <tbody>
            <!-- <tr trindex="0">
              <td colspan="3">最大干密度(g/cm3)</td>
              <td colspan="2">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.zuidgmd"
                  @keydown.native="handleKeyDown($event, 0, 0)" :ref="'0_0'" />
              </td>
              <td colspan="3">最佳含水率（%）</td>
              <td colspan="2">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.zuijhsl"
                  @keydown.native="handleKeyDown($event, 0, 1)" :ref="'0_1'" />
              </td>
              <td colspan="3">贯入杆面积A（cm2)</td>
              <td colspan="2">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.guanrgmj" @change="guanrgmjAchange()"
                  @keydown.native="handleKeyDown($event, 0, 2)" :ref="'0_2'" />
              </td>
            </tr> -->
            <tr trindex="1">
              <td colspan="1" class="td1" rowspan="1">筒号</td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.tongh1"
                  @keydown.native="handleKeyDown($event, 0, 0)" :ref="'0_0'" />
              </td>
              <td colspan="2" class="td2" rowspan="1">每层击数</td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.meicjs1" @change="cbr2Change"
                  @keydown.native="handleKeyDown($event, 0, 1)" :ref="'0_1'" />
              </td>
              <td colspan="2" class="td1" rowspan="1">量力环校正系数</td>
              <td colspan="1" class="td1" rowspan="1">α</td>
              <td colspan="1" class="td1" rowspan="1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.arf"
                  @keydown.native="handleKeyDown($event, 0, 2)" :ref="'0_2'" />
              </td>
              <td colspan="1" class="td1" rowspan="1">β</td>
              <td colspan="1" class="td1" rowspan="1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.bt"
                  @keydown.native="handleKeyDown($event, 0, 3)" :ref="'0_3'" />
              </td>
              <td colspan="3">贯入杆面积A（cm2)</td>
              <td colspan="1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.guanrgmj" @change="guanrgmjAchange()"
                  @keydown.native="handleKeyDown($event, 0, 4)" :ref="'0_4'" />
              </td>
            </tr>
            <tr trindex="2">
              <td colspan="1" class="td1" rowspan="2">力值</td>
              <td colspan="1" class="td1" rowspan="2">单位压力</td>
              <td colspan="2" class="td2" rowspan="1">贯入量读数</td>
              <td colspan="1" class="td1" rowspan="2">贯入量</td>

              <td colspan="1" class="td1" rowspan="2">力值</td>
              <td colspan="1" class="td1" rowspan="2">单位压力</td>
              <td colspan="2" class="td2" rowspan="1">贯入量读数</td>
              <td colspan="1" class="td1" rowspan="2">贯入量</td>

              <td colspan="1" class="td1" rowspan="2">力值</td>
              <td colspan="1" class="td1" rowspan="2">单位压力</td>
              <td colspan="2" class="td2" rowspan="1">贯入量读数</td>
              <td colspan="1" class="td1" rowspan="2">贯入量</td>
            </tr>
            <tr trindex="3">
              <td colspan="1" class="td1" rowspan="1">1</td>
              <td colspan="1" class="td1" rowspan="1">2</td>

              <td colspan="1" class="td1" rowspan="1">1</td>
              <td colspan="1" class="td1" rowspan="1">2</td>

              <td colspan="1" class="td1" rowspan="1">1</td>
              <td colspan="1" class="td1" rowspan="1">2</td>
            </tr>
            <tr trindex="4">
              <td colspan="1" class="td1" rowspan="1">kN</td>
              <td colspan="1" class="td1" rowspan="1">kPa</td>
              <td colspan="1" class="td1" rowspan="1">0.01mm</td>
              <td colspan="1" class="td1" rowspan="1">0.01mm</td>
              <td colspan="1" class="td1" rowspan="1">mm</td>

              <td colspan="1" class="td1" rowspan="1">kN</td>
              <td colspan="1" class="td1" rowspan="1">kPa</td>
              <td colspan="1" class="td1" rowspan="1">0.01mm</td>
              <td colspan="1" class="td1" rowspan="1">0.01mm</td>
              <td colspan="1" class="td1" rowspan="1">mm</td>

              <td colspan="1" class="td1" rowspan="1">kN</td>
              <td colspan="1" class="td1" rowspan="1">kPa</td>
              <td colspan="1" class="td1" rowspan="1">0.01mm</td>
              <td colspan="1" class="td1" rowspan="1">0.01mm</td>
              <td colspan="1" class="td1" rowspan="1">mm</td>
            </tr>

            <tr trindex="5">
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[0].liz"
                  @change="calculateDanwyl('0')" @keydown.native="handleKeyDown($event, 1, 0)" :ref="'1_0'"
                  @paste.native="handlePaste($event, 0, 0)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[0].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[0].guanrlds1"
                  @change="calculateGuanrl('0')" @keydown.native="handleKeyDown($event, 1, 1)" :ref="'1_1'"
                  @paste.native="handlePaste($event, 0, 1)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[0].guanrlds2"
                  @change="calculateGuanrl('0')" @keydown.native="handleKeyDown($event, 1, 2)" :ref="'1_2'"
                  @paste.native="handlePaste($event, 0, 2)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[0].guanrl }}
              </td>

              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[1].liz"
                  @change="calculateDanwyl('1')" @keydown.native="handleKeyDown($event, 1, 3)" :ref="'1_3'"
                  @paste.native="handlePaste($event, 0, 3)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[1].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[1].guanrlds1"
                  @change="calculateGuanrl('1')" @keydown.native="handleKeyDown($event, 1, 4)" :ref="'1_4'"
                  @paste.native="handlePaste($event, 0, 4)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[1].guanrlds2"
                  @change="calculateGuanrl('1')" @keydown.native="handleKeyDown($event, 1, 5)" :ref="'1_5'"
                  @paste.native="handlePaste($event, 0, 5)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[1].guanrl }}
              </td>

              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[2].liz"
                  @change="calculateDanwyl('2')" @keydown.native="handleKeyDown($event, 1, 6)" :ref="'1_6'"
                  @paste.native="handlePaste($event, 0, 6)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[2].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[2].guanrlds1"
                  @change="calculateGuanrl('2')" @keydown.native="handleKeyDown($event, 1, 7)" :ref="'1_7'"
                  @paste.native="handlePaste($event, 0, 7)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[2].guanrlds2"
                  @change="calculateGuanrl('2')" @keydown.native="handleKeyDown($event, 1, 8)" :ref="'1_8'"
                  @paste.native="handlePaste($event, 0, 8)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[2].guanrl }}
              </td>
            </tr>
            <tr trindex="6">
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[3].liz"
                  @change="calculateDanwyl('3')" @keydown.native="handleKeyDown($event, 2, 0)" :ref="'2_0'"
                  @paste.native="handlePaste($event, 1, 0)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[3].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[3].guanrlds1"
                  @change="calculateGuanrl('3')" @keydown.native="handleKeyDown($event, 2, 1)" :ref="'2_1'"
                  @paste.native="handlePaste($event, 1, 1)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[3].guanrlds2"
                  @change="calculateGuanrl('3')" @keydown.native="handleKeyDown($event, 2, 2)" :ref="'2_2'"
                  @paste.native="handlePaste($event, 1, 2)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[3].guanrl }}
              </td>

              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[4].liz"
                  @change="calculateDanwyl('4')" @keydown.native="handleKeyDown($event, 2, 3)" :ref="'2_3'"
                  @paste.native="handlePaste($event, 1, 3)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[4].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[4].guanrlds1"
                  @change="calculateGuanrl('4')" @keydown.native="handleKeyDown($event, 2, 4)" :ref="'2_4'"
                  @paste.native="handlePaste($event, 1, 4)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[4].guanrlds2"
                  @change="calculateGuanrl('4')" @keydown.native="handleKeyDown($event, 2, 5)" :ref="'2_5'"
                  @paste.native="handlePaste($event, 1, 5)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[4].guanrl }}
              </td>

              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[5].liz"
                  @change="calculateDanwyl('5')" @keydown.native="handleKeyDown($event, 2, 6)" :ref="'2_6'"
                  @paste.native="handlePaste($event, 1, 6)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[5].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[5].guanrlds1"
                  @change="calculateGuanrl('5')" @keydown.native="handleKeyDown($event, 2, 7)" :ref="'2_7'"
                  @paste.native="handlePaste($event, 1, 7)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[5].guanrlds2"
                  @change="calculateGuanrl('5')" @keydown.native="handleKeyDown($event, 2, 8)" :ref="'2_8'"
                  @paste.native="handlePaste($event, 1, 8)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[5].guanrl }}
              </td>
            </tr>
            <tr trindex="7">
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[6].liz"
                  @change="calculateDanwyl('6')" @keydown.native="handleKeyDown($event, 3, 0)" :ref="'3_0'"
                  @paste.native="handlePaste($event, 2, 0)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[6].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[6].guanrlds1"
                  @change="calculateGuanrl('6')" @keydown.native="handleKeyDown($event, 3, 1)" :ref="'3_1'"
                  @paste.native="handlePaste($event, 2, 1)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[6].guanrlds2"
                  @change="calculateGuanrl('6')" @keydown.native="handleKeyDown($event, 3, 2)" :ref="'3_2'"
                  @paste.native="handlePaste($event, 2, 2)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[6].guanrl }}
              </td>

              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[7].liz"
                  @change="calculateDanwyl('7')" @keydown.native="handleKeyDown($event, 3, 3)" :ref="'3_3'"
                  @paste.native="handlePaste($event, 2, 3)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[7].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[7].guanrlds1"
                  @change="calculateGuanrl('7')" @keydown.native="handleKeyDown($event, 3, 4)" :ref="'3_4'"
                  @paste.native="handlePaste($event, 2, 4)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[7].guanrlds2"
                  @change="calculateGuanrl('7')" @keydown.native="handleKeyDown($event, 3, 5)" :ref="'3_5'"
                  @paste.native="handlePaste($event, 2, 5)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[7].guanrl }}
              </td>

              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[8].liz"
                  @change="calculateDanwyl('8')" @keydown.native="handleKeyDown($event, 3, 6)" :ref="'3_6'"
                  @paste.native="handlePaste($event, 2, 6)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[8].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[8].guanrlds1"
                  @change="calculateGuanrl('8')" @keydown.native="handleKeyDown($event, 3, 7)" :ref="'3_7'"
                  @paste.native="handlePaste($event, 2, 7)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[8].guanrlds2"
                  @change="calculateGuanrl('8')" @keydown.native="handleKeyDown($event, 3, 8)" :ref="'3_8'"
                  @paste.native="handlePaste($event, 2, 8)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[8].guanrl }}
              </td>
            </tr>
            <tr trindex="8">
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[9].liz"
                  @change="calculateDanwyl('9')" @keydown.native="handleKeyDown($event, 4, 0)" :ref="'4_0'"
                  @paste.native="handlePaste($event, 3, 0)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[9].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[9].guanrlds1"
                  @change="calculateGuanrl('9')" @keydown.native="handleKeyDown($event, 4, 1)" :ref="'4_1'"
                  @paste.native="handlePaste($event, 3, 1)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[9].guanrlds2"
                  @change="calculateGuanrl('9')" @keydown.native="handleKeyDown($event, 4, 2)" :ref="'4_2'"
                  @paste.native="handlePaste($event, 3, 2)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[9].guanrl }}
              </td>

              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[10].liz"
                  @change="calculateDanwyl('10')" @keydown.native="handleKeyDown($event, 4, 3)" :ref="'4_3'"
                  @paste.native="handlePaste($event, 3, 3)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[10].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[10].guanrlds1"
                  @change="calculateGuanrl('10')" @keydown.native="handleKeyDown($event, 4, 4)" :ref="'4_4'"
                  @paste.native="handlePaste($event, 3, 4)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[10].guanrlds2"
                  @change="calculateGuanrl('10')" @keydown.native="handleKeyDown($event, 4, 5)" :ref="'4_5'"
                  @paste.native="handlePaste($event, 3, 5)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[10].guanrl }}
              </td>

              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[11].liz"
                  @change="calculateDanwyl('11')" @keydown.native="handleKeyDown($event, 4, 6)" :ref="'4_6'"
                  @paste.native="handlePaste($event, 3, 6)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[11].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[11].guanrlds1"
                  @change="calculateGuanrl('11')" @keydown.native="handleKeyDown($event, 4, 7)" :ref="'4_7'"
                  @paste.native="handlePaste($event, 3, 7)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[11].guanrlds2"
                  @change="calculateGuanrl('11')" @keydown.native="handleKeyDown($event, 4, 8)" :ref="'4_8'"
                  @paste.native="handlePaste($event, 3, 8)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[11].guanrl }}
              </td>
            </tr>
            <tr trindex="9">
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[12].liz"
                  @change="calculateDanwyl('12')" @keydown.native="handleKeyDown($event, 5, 0)" :ref="'5_0'"
                  @paste.native="handlePaste($event, 4, 0)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[12].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[12].guanrlds1"
                  @change="calculateGuanrl('12')" @keydown.native="handleKeyDown($event, 5, 1)" :ref="'5_1'"
                  @paste.native="handlePaste($event, 4, 1)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[12].guanrlds2"
                  @change="calculateGuanrl('12')" @keydown.native="handleKeyDown($event, 5, 2)" :ref="'5_2'"
                  @paste.native="handlePaste($event, 4, 2)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[12].guanrl }}
              </td>

              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[13].liz"
                  @change="calculateDanwyl('13')" @keydown.native="handleKeyDown($event, 5, 3)" :ref="'5_3'"
                  @paste.native="handlePaste($event, 4, 3)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[13].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[13].guanrlds1"
                  @change="calculateGuanrl('13')" @keydown.native="handleKeyDown($event, 5, 4)" :ref="'5_4'"
                  @paste.native="handlePaste($event, 4, 4)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[13].guanrlds2"
                  @change="calculateGuanrl('13')" @keydown.native="handleKeyDown($event, 5, 5)" :ref="'5_5'"
                  @paste.native="handlePaste($event, 4, 5)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[13].guanrl }}
              </td>

              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[14].liz"
                  @change="calculateDanwyl('14')" @keydown.native="handleKeyDown($event, 5, 6)" :ref="'5_6'"
                  @paste.native="handlePaste($event, 4, 6)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[14].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[14].guanrlds1"
                  @change="calculateGuanrl('14')" @keydown.native="handleKeyDown($event, 5, 7)" :ref="'5_7'"
                  @paste.native="handlePaste($event, 4, 7)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[14].guanrlds2"
                  @change="calculateGuanrl('14')" @keydown.native="handleKeyDown($event, 5, 8)" :ref="'5_8'"
                  @paste.native="handlePaste($event, 4, 8)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[14].guanrl }}
              </td>
            </tr>
            <tr trindex="10">
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[15].liz"
                  @change="calculateDanwyl('15')" @keydown.native="handleKeyDown($event, 6, 0)" :ref="'6_0'"
                  @paste.native="handlePaste($event, 5, 0)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[15].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[15].guanrlds1"
                  @change="calculateGuanrl('15')" @keydown.native="handleKeyDown($event, 6, 1)" :ref="'6_1'"
                  @paste.native="handlePaste($event, 5, 1)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[15].guanrlds2"
                  @change="calculateGuanrl('15')" @keydown.native="handleKeyDown($event, 6, 2)" :ref="'6_2'"
                  @paste.native="handlePaste($event, 5, 2)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[15].guanrl }}
              </td>

              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[16].liz"
                  @change="calculateDanwyl('16')" @keydown.native="handleKeyDown($event, 6, 3)" :ref="'6_3'"
                  @paste.native="handlePaste($event, 5, 3)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[16].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[16].guanrlds1"
                  @change="calculateGuanrl('16')" @keydown.native="handleKeyDown($event, 6, 4)" :ref="'6_4'"
                  @paste.native="handlePaste($event, 5, 4)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[16].guanrlds2"
                  @change="calculateGuanrl('16')" @keydown.native="handleKeyDown($event, 6, 5)" :ref="'6_5'"
                  @paste.native="handlePaste($event, 5, 5)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[16].guanrl }}
              </td>

              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[17].liz"
                  @change="calculateDanwyl('17')" @keydown.native="handleKeyDown($event, 6, 6)" :ref="'6_6'"
                  @paste.native="handlePaste($event, 5, 6)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[17].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[17].guanrlds1"
                  @change="calculateGuanrl('17')" @keydown.native="handleKeyDown($event, 6, 7)" :ref="'6_7'"
                  @paste.native="handlePaste($event, 5, 7)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[17].guanrlds2"
                  @change="calculateGuanrl('17')" @keydown.native="handleKeyDown($event, 6, 8)" :ref="'6_8'"
                  @paste.native="handlePaste($event, 5, 8)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[17].guanrl }}
              </td>
            </tr>
            <tr trindex="11">
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[18].liz"
                  @change="calculateDanwyl('18')" @keydown.native="handleKeyDown($event, 7, 0)" :ref="'7_0'"
                  @paste.native="handlePaste($event, 6, 0)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[18].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[18].guanrlds1"
                  @change="calculateGuanrl('18')" @keydown.native="handleKeyDown($event, 7, 1)" :ref="'7_1'"
                  @paste.native="handlePaste($event, 6, 1)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[18].guanrlds2"
                  @change="calculateGuanrl('18')" @keydown.native="handleKeyDown($event, 7, 2)" :ref="'7_2'"
                  @paste.native="handlePaste($event, 6, 2)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[18].guanrl }}
              </td>

              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[19].liz"
                  @change="calculateDanwyl('19')" @keydown.native="handleKeyDown($event, 7, 3)" :ref="'7_3'"
                  @paste.native="handlePaste($event, 6, 3)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[19].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[19].guanrlds1"
                  @change="calculateGuanrl('19')" @keydown.native="handleKeyDown($event, 7, 4)" :ref="'7_4'"
                  @paste.native="handlePaste($event, 6, 4)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[19].guanrlds2"
                  @change="calculateGuanrl('19')" @keydown.native="handleKeyDown($event, 7, 5)" :ref="'7_5'"
                  @paste.native="handlePaste($event, 6, 5)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[19].guanrl }}
              </td>

              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[20].liz"
                  @change="calculateDanwyl('20')" @keydown.native="handleKeyDown($event, 7, 6)" :ref="'7_6'"
                  @paste.native="handlePaste($event, 6, 6)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[20].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[20].guanrlds1"
                  @change="calculateGuanrl('20')" @keydown.native="handleKeyDown($event, 7, 7)" :ref="'7_7'"
                  @paste.native="handlePaste($event, 6, 7)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[20].guanrlds2"
                  @change="calculateGuanrl('20')" @keydown.native="handleKeyDown($event, 7, 8)" :ref="'7_8'"
                  @paste.native="handlePaste($event, 6, 8)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[20].guanrl }}
              </td>
            </tr>
            <tr trindex="12">
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[21].liz"
                  @change="calculateDanwyl('21')" @keydown.native="handleKeyDown($event, 8, 0)" :ref="'8_0'"
                  @paste.native="handlePaste($event, 7, 0)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[21].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[21].guanrlds1"
                  @change="calculateGuanrl('21')" @keydown.native="handleKeyDown($event, 8, 1)" :ref="'8_1'"
                  @paste.native="handlePaste($event, 7, 1)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[21].guanrlds2"
                  @change="calculateGuanrl('21')" @keydown.native="handleKeyDown($event, 8, 2)" :ref="'8_2'"
                  @paste.native="handlePaste($event, 7, 2)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[21].guanrl }}
              </td>

              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[22].liz"
                  @change="calculateDanwyl('22')" @keydown.native="handleKeyDown($event, 8, 3)" :ref="'8_3'"
                  @paste.native="handlePaste($event, 7, 3)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[22].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[22].guanrlds1"
                  @change="calculateGuanrl('22')" @keydown.native="handleKeyDown($event, 8, 4)" :ref="'8_4'"
                  @paste.native="handlePaste($event, 7, 4)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[22].guanrlds2"
                  @change="calculateGuanrl('22')" @keydown.native="handleKeyDown($event, 8, 5)" :ref="'8_5'"
                  @paste.native="handlePaste($event, 7, 5)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[22].guanrl }}
              </td>

              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[23].liz"
                  @change="calculateDanwyl('23')" @keydown.native="handleKeyDown($event, 8, 6)" :ref="'8_6'"
                  @paste.native="handlePaste($event, 7, 6)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[23].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[23].guanrlds1"
                  @change="calculateGuanrl('23')" @keydown.native="handleKeyDown($event, 8, 7)" :ref="'8_7'"
                  @paste.native="handlePaste($event, 7, 7)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[23].guanrlds2"
                  @change="calculateGuanrl('23')" @keydown.native="handleKeyDown($event, 8, 8)" :ref="'8_8'"
                  @paste.native="handlePaste($event, 7, 8)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[23].guanrl }}
              </td>
            </tr>
            <tr trindex="13">
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[24].liz"
                  @change="calculateDanwyl('24')" @keydown.native="handleKeyDown($event, 9, 0)" :ref="'9_0'"
                  @paste.native="handlePaste($event, 8, 0)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[24].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[24].guanrlds1"
                  @change="calculateGuanrl('24')" @keydown.native="handleKeyDown($event, 9, 1)" :ref="'9_1'"
                  @paste.native="handlePaste($event, 8, 1)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[24].guanrlds2"
                  @change="calculateGuanrl('24')" @keydown.native="handleKeyDown($event, 9, 2)" :ref="'9_2'"
                  @paste.native="handlePaste($event, 8, 2)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[24].guanrl }}
              </td>

              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[25].liz"
                  @change="calculateDanwyl('25')" @keydown.native="handleKeyDown($event, 9, 3)" :ref="'9_3'"
                  @paste.native="handlePaste($event, 8, 3)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[25].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[25].guanrlds1"
                  @change="calculateGuanrl('25')" @keydown.native="handleKeyDown($event, 9, 4)" :ref="'9_4'"
                  @paste.native="handlePaste($event, 8, 4)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[25].guanrlds2"
                  @change="calculateGuanrl('25')" @keydown.native="handleKeyDown($event, 9, 5)" :ref="'9_5'"
                  @paste.native="handlePaste($event, 8, 5)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[25].guanrl }}
              </td>

              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[26].liz"
                  @change="calculateDanwyl('26')" @keydown.native="handleKeyDown($event, 9, 6)" :ref="'9_6'"
                  @paste.native="handlePaste($event, 8, 6)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[26].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[26].guanrlds1"
                  @change="calculateGuanrl('26')" @keydown.native="handleKeyDown($event, 9, 7)" :ref="'9_7'"
                  @paste.native="handlePaste($event, 8, 7)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[26].guanrlds2"
                  @change="calculateGuanrl('26')" @keydown.native="handleKeyDown($event, 9, 8)" :ref="'9_8'"
                  @paste.native="handlePaste($event, 8, 8)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[26].guanrl }}
              </td>
            </tr>
            <tr trindex="14">
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[27].liz"
                  @change="calculateDanwyl('27')" @keydown.native="handleKeyDown($event, 10, 0)" :ref="'10_0'"
                  @paste.native="handlePaste($event, 9, 0)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[27].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[27].guanrlds1"
                  @change="calculateGuanrl('27')" @keydown.native="handleKeyDown($event, 10, 1)" :ref="'10_1'"
                  @paste.native="handlePaste($event, 9, 1)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[27].guanrlds2"
                  @change="calculateGuanrl('27')" @keydown.native="handleKeyDown($event, 10, 2)" :ref="'10_2'"
                  @paste.native="handlePaste($event, 9, 2)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[27].guanrl }}
              </td>

              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[28].liz"
                  @change="calculateDanwyl('28')" @keydown.native="handleKeyDown($event, 10, 3)" :ref="'10_3'"
                  @paste.native="handlePaste($event, 9, 3)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[28].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[28].guanrlds1"
                  @change="calculateGuanrl('28')" @keydown.native="handleKeyDown($event, 10, 4)" :ref="'10_4'"
                  @paste.native="handlePaste($event, 9, 4)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[28].guanrlds2"
                  @change="calculateGuanrl('28')" @keydown.native="handleKeyDown($event, 10, 5)" :ref="'10_5'"
                  @paste.native="handlePaste($event, 9, 5)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[28].guanrl }}
              </td>

              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[29].liz"
                  @change="calculateDanwyl('29')" @keydown.native="handleKeyDown($event, 10, 6)" :ref="'10_6'"
                  @paste.native="handlePaste($event, 9, 6)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[29].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[29].guanrlds1"
                  @change="calculateGuanrl('29')" @keydown.native="handleKeyDown($event, 10, 7)" :ref="'10_7'"
                  @paste.native="handlePaste($event, 9, 7)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[29].guanrlds2"
                  @change="calculateGuanrl('29')" @keydown.native="handleKeyDown($event, 10, 8)" :ref="'10_8'"
                  @paste.native="handlePaste($event, 9, 8)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[29].guanrl }}
              </td>
            </tr>
            <tr trindex="15">
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[30].liz"
                  @change="calculateDanwyl('30')" @keydown.native="handleKeyDown($event, 11, 0)" :ref="'11_0'"
                  @paste.native="handlePaste($event, 10, 0)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[30].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[30].guanrlds1"
                  @change="calculateGuanrl('30')" @keydown.native="handleKeyDown($event, 11, 1)" :ref="'11_1'"
                  @paste.native="handlePaste($event, 10, 1)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[30].guanrlds2"
                  @change="calculateGuanrl('30')" @keydown.native="handleKeyDown($event, 11, 2)" :ref="'11_2'"
                  @paste.native="handlePaste($event, 10, 2)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[30].guanrl }}
              </td>

              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[31].liz"
                  @change="calculateDanwyl('31')" @keydown.native="handleKeyDown($event, 11, 3)" :ref="'11_3'"
                  @paste.native="handlePaste($event, 10, 3)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[31].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[31].guanrlds1"
                  @change="calculateGuanrl('31')" @keydown.native="handleKeyDown($event, 11, 4)" :ref="'11_4'"
                  @paste.native="handlePaste($event, 10, 4)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[31].guanrlds2"
                  @change="calculateGuanrl('31')" @keydown.native="handleKeyDown($event, 11, 5)" :ref="'11_5'"
                  @paste.native="handlePaste($event, 10, 5)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[31].guanrl }}
              </td>

              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[32].liz"
                  @change="calculateDanwyl('32')" @keydown.native="handleKeyDown($event, 11, 6)" :ref="'11_6'"
                  @paste.native="handlePaste($event, 10, 6)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[32].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[32].guanrlds1"
                  @change="calculateGuanrl('32')" @keydown.native="handleKeyDown($event, 11, 7)" :ref="'11_7'"
                  @paste.native="handlePaste($event, 10, 7)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[32].guanrlds2"
                  @change="calculateGuanrl('32')" @keydown.native="handleKeyDown($event, 11, 8)" :ref="'11_8'"
                  @paste.native="handlePaste($event, 10, 8)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[32].guanrl }}
              </td>
            </tr>
            <tr trindex="16">
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[33].liz"
                  @change="calculateDanwyl('33')" @keydown.native="handleKeyDown($event, 12, 0)" :ref="'12_0'"
                  @paste.native="handlePaste($event, 11, 0)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[33].danwyl }}
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[33].guanrlds1"
                  @change="calculateGuanrl('33')" @keydown.native="handleKeyDown($event, 12, 1)" :ref="'12_1'"
                  @paste.native="handlePaste($event, 11, 1)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[33].guanrlds2"
                  @change="calculateGuanrl('33')" @keydown.native="handleKeyDown($event, 12, 2)" :ref="'12_2'"
                  @paste.native="handlePaste($event, 11, 2)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[33].guanrl }}
              </td>

              <td colspan=" 1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[34].liz"
                  @change="calculateDanwyl('34')" @keydown.native="handleKeyDown($event, 12, 3)" :ref="'12_3'"
                  @paste.native="handlePaste($event, 11, 3)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[34].danwyl }}
              </td>
              <td colspan=" 1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[34].guanrlds1"
                  @change="calculateGuanrl('34')" @keydown.native="handleKeyDown($event, 12, 4)" :ref="'12_4'"
                  @paste.native="handlePaste($event, 11, 4)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[34].guanrlds2"
                  @change="calculateGuanrl('34')" @keydown.native="handleKeyDown($event, 12, 5)" :ref="'12_5'"
                  @paste.native="handlePaste($event, 11, 5)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[34].guanrl }}
              </td>

              <td colspan=" 1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[35].liz"
                  @change="calculateDanwyl('35')" @keydown.native="handleKeyDown($event, 12, 6)" :ref="'12_6'"
                  @paste.native="handlePaste($event, 11, 6)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[35].danwyl }}
              </td>
              <td colspan=" 1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[35].guanrlds1"
                  @change="calculateGuanrl('35')" @keydown.native="handleKeyDown($event, 12, 7)" :ref="'12_7'"
                  @paste.native="handlePaste($event, 11, 7)" />
              </td>
              <td colspan="1" class="td1">
                <el-input :type="isPdf ? 'string' : 'number'" v-model="form.baDetailVos[35].guanrlds2"
                  @change="calculateGuanrl('35')" @keydown.native="handleKeyDown($event, 12, 8)" :ref="'12_8'"
                  @paste.native="handlePaste($event, 11, 8)" />
              </td>
              <td colspan="1" class="td1">
                {{ form.baDetailVos[35].guanrl }}
              </td>
            </tr>

            <tr trindex="17">
              <td colspan="5" height="180" class="echarts-border">
                <table-line-log-more-chart :className="'echarts-border'" :chartData="chartData0" :yType="'log'"
                  :xType="'log'" :minorSplitLine="true"></table-line-log-more-chart>
              </td>
              <td colspan="5" height="180" class="echarts-border">
                <table-line-log-more-chart :className="'echarts-border'" :chartData="chartData1" :yType="'log'"
                  :xType="'log'" :minorSplitLine="true"></table-line-log-more-chart>
              </td>
              <td colspan="5" height="180" class="echarts-border">
                <table-line-log-more-chart :className="'echarts-border'" :chartData="chartData2" :yType="'log'"
                  :xType="'log'" :minorSplitLine="true"></table-line-log-more-chart>
              </td>
            </tr>

            <tr trindex="18">
              <td colspan="1" class="td1" rowspan="2" height="20">筒号</td>
              <td colspan="1" class="td1" rowspan="2">击数</td>
              <td colspan="5" class="td5" rowspan="1">L=2.5mm时</td>
              <td colspan="5" class="td5" rowspan="1">L=5.0mm时</td>
              <td colspan="3" class="td3" rowspan="2">CBR（%）</td>
            </tr>
            <tr trindex="19">
              <td colspan="3" class="td3" rowspan="1" height="20">单位压力（kPa）</td>
              <td colspan="2" class="td2" rowspan="1">CBR（%）</td>
              <td colspan="3" class="td3" rowspan="1">单位压力（kPa）</td>
              <td colspan="2" class="td2" rowspan="1">CBR（%）</td>
            </tr>
            <tr trindex="20">
              <td colspan="1" class="td1" rowspan="3" height="20">{{ form.tongh1 }}</td>
              <td colspan="1" class="td1" rowspan="3">{{ form.meicjs1 }}</td>
              <td colspan="3" class="td3">{{ form.danwyl2p5mm1 }}</td>
              <td colspan="2" class="td2">{{ form.cbr2p5mm1 }}</td>
              <td colspan="3" class="td3">{{ form.danwyl5p0mm1 }}</td>
              <td colspan="2" class="td2">{{ form.cbr5p0mm1 }}</td>
              <td colspan="3" class="td3" rowspan="3">{{ form.cbrpjz2p5 }}</td>
            </tr>
            <tr trindex="21">
              <!-- <td colspan="1" class="td1" height="20">{{ form.tongh2 }}</td>
              <td colspan="1" class="td1">{{ form.meicjs2 }}</td> -->
              <td colspan="3" class="td3">{{ form.danwyl2p5mm2 }}</td>
              <td colspan="2" class="td2">{{ form.cbr2p5mm2 }}</td>
              <td colspan="3" class="td3">{{ form.danwyl5p0mm2 }}</td>
              <td colspan="2" class="td2">{{ form.cbr5p0mm2 }}</td>
            </tr>
            <tr trindex="22">
              <!-- <td colspan="1" class="td1" height="20">{{ form.tongh3 }}</td>
              <td colspan="1" class="td1">{{ form.meicjs3 }}</td> -->
              <td colspan="3" class="td3">{{ form.danwyl2p5mm3 }}</td>
              <td colspan="2" class="td2">{{ form.cbr2p5mm3 }}</td>
              <td colspan="3" class="td3">{{ form.danwyl5p0mm3 }}</td>
              <td colspan="2" class="td2">{{ form.cbr5p0mm3 }}</td>
            </tr>
          </tbody>
        </table>
        <!-- .....................................................33333333333333333................................................... -->
        <table height="50px" class="bottom-table">
          <tr>
            <td>
              <span v-if="isPdf" class="textarea-span">{{ form.fujsm }}</span>
              <el-input v-else type="textarea" :rows="2" v-model="form.fujsm" @focus="handleFocus('fujsm')" />
            </td>
          </tr>
        </table>
      </div>
      <!-- .................................44444444444............................................. -->
      <table height="22px" class="transparent">
        <tbody>
          <tr>
            <td width="10%" align="right">检测：</td>
            <td width="15%" align="left"></td>
            <td width="10%" align="right">记录：</td>
            <td width="15%" align="left"></td>
            <td width="10%" align="right">复核：</td>
            <td align="left" width="15%"></td>
            <td width="10%">日期：</td>
            <td align="left" width="15%">
              <div style="display: inline-block; margin-left: 20px">年</div>
              <div style="display: inline-block; margin-left: 20px">月</div>
              <div style="display: inline-block; margin-left: 20px">日</div>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
    <bs-instrument-view ref="bsInstrumentViewRef" @select="selectInstrument"></bs-instrument-view>
    <bs-jiancyj-view ref="bsJiancyjViewRef" @select="selectJiancyj" :syType="syType"></bs-jiancyj-view>
    <bs-judge-base-view ref="bsJudgeBaseViewRef" @select="selectJudge" :syType="syType"></bs-judge-base-view>
  </div>
</template>

<script>
import { getTgTdczbjlbeBsInfo, computeTgTdczbjlbeBsInfo } from "@/api/report_tg/tgTdczbjlbeBsInfo";
import BsInstrumentView from "@/views/dept/bsInstrument/BsInstrumentView.vue";
import BsJiancyjView from "@/views/sycs/bsJiancyj/BsJiancyjView.vue";
import TableLineLogMoreChart from "@/views/reportForms/components/TableLineLogMoreChart.vue";
import BsJudgeBaseView from "@/views/sycs/bsJudgeBase/BsJudgeBaseView.vue";
import { handleFocus, emptyConvert, handleKeyDown, handlePaste } from "@/views/reportForms/utils";
import decimal from "@/utils/big-decimal";
import Bus from "@/utils/bus";
export default {
  name: "tdczbjlbe",
  components: {
    BsInstrumentView,
    BsJiancyjView,
    TableLineLogMoreChart,
    BsJudgeBaseView
  },
  props: {
    excelId: {
      type: [String, Number],
      default: () => ""
    },
    syType: {
      type: [String, Number],
      default: () => ""
    },
    page: {
      type: Number,
      default: () => 0
    },
    isPdf: {
      type: Boolean,
      default: () => false
    },
    printEmpty: {
      type: Boolean,
      default: () => false
    }
  },

  data () {
    return {
      // 表单参数
      form: {
        baDetailVos: [{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}]
      },
      chartData0: {
        xName: "单位压力（kPa）",
        yName: "贯入深度（mm）",
        seriesData: [],
        time: ""
      },
      chartData1: {
        xName: "单位压力（kPa）",
        yName: "贯入深度（mm）",
        seriesData: [],
        time: ""
      },
      chartData2: {
        xName: "单位压力（kPa）",
        yName: "贯入深度（mm）",
        seriesData: [],
        time: ""
      }
    };
  },
  watch: {
    isPdf (newVal, oldVal) {
      this.form = { ...emptyConvert(this.form, newVal) };
    }
  },
  created () {
    this.getInfo();
  },
  methods: {
    // 获取详情
    getInfo () {
      getTgTdczbjlbeBsInfo(this.excelId || this.$defaultExcelId).then((response) => {
        this.form = response.data;
        if (!this.form.fujsm) {
          this.form.fujsm = "附加声明：";
        }
        this.setEcharts();
      });
    },
    // 显示仪器列表
    showBsInstrumentView () {
      this.$refs.bsInstrumentViewRef.init(this.form.shebIds);
    },
    // 仪器选择
    selectInstrument (info) {
      this.form.zhuyyqsbmcjbh = info.label;
      this.form.shebIds = info.ids;
      Bus.$emit("setTgBgZhuyyqsbmcjbh", { zhuyyqsbmcjbh: this.form.zhuyyqsbmcjbh, shebIds: this.form.shebIds });
    },
    // 显示检测依据列表
    showBsJiancyjView () {
      this.$refs.bsJiancyjViewRef.init(this.form.jiancyjIds);
    },
    // 检测依据选择
    selectJiancyj (info) {
      this.form.jiancyj = info.label;
      this.form.jiancyjIds = info.ids;
      Bus.$emit("setTgBgJiancyj", { jiancyj: this.form.jiancyj, jiancyjIds: this.form.jiancyjIds });
    },
    // 显示判定依据列表
    showBsJudgeBaseView () {
      this.$refs.bsJudgeBaseViewRef.init(this.form.pandyjIds);
    },
    // 判断依据选择
    selectJudge (info) {
      this.form.pandyjIds = info.ids;
      this.form.pandyj = info.label;
    },
    // 贯入杆面积改变
    guanrgmjAchange () {
      if (!this.form.baDetailVos || this.form.baDetailVos.length == 0) {
        return;
      }
      this.form.baDetailVos.forEach((item, index) => {
        this.calculateDanwyl(index);
      });
    },
    // 计算单位压力
    calculateDanwyl (type) {
      console.log(type);

      if (!this.form.baDetailVos[type]["liz"] || !this.form.guanrgmj) {
        this.form.baDetailVos[type]["danwyl"] = "";
        // this.setEcharts();
        this.calculateInfo();
        return;
      }
      // 单位压力 = 力值 * 10000 / 贯入杆面积A
      this.form.baDetailVos[type]["danwyl"] = decimal.divide(decimal.multiply(this.form.baDetailVos[type]["liz"], 10000), this.form.guanrgmj, 0);
      // this.setEcharts();
      this.calculateInfo();
    },
    // 计算贯入量
    calculateGuanrl (type) {
      console.log(type);

      if (!this.form.baDetailVos[type]["guanrlds1"] || !this.form.baDetailVos[type]["guanrlds2"]) {
        this.form.baDetailVos[type]["guanrl"] = "";
        // this.setEcharts();
        this.calculateInfo();
        return;
      }
      // 贯入量 = (1+2 )/ 2 / 100
      this.form.baDetailVos[type]["guanrl"] = decimal.divide(decimal.divide(decimal.add(this.form.baDetailVos[type]["guanrlds1"], this.form.baDetailVos[type]["guanrlds2"]), 2), 100);
      // this.setEcharts();
      this.calculateInfo();
    },
    // 计算图表
    calculateInfo () {
      let flg = {
        0: false,
        1: false,
        2: false
      };
      let flgSum = false;
      for (let index = 0; index < this.form.baDetailVos.length; index++) {
        const item = this.form.baDetailVos[index];
        if (!item.danwyl || !item.guanrl) {
          const count = index % 3;
          flg[count] = true;
          flgSum = true;
          break;
        }
      }
      for (let i = 0; i < 3; i++) {
        if (flg[i]) {
          this.chartData[i].seriesData = [];
        }
      }
      if (flgSum) {
        return;
      }
      const info = {
        ...this.form
      };
      computeTgTdczbjlbeBsInfo(info).then((response) => {
        this.form = response.data;
        this.cbr2Change();
        this.setEcharts();
        // this.calculateZuidgmd();
      });
    },
    // 拼接图表数据
    setEcharts () {
      this.seriesData0 = [];
      this.seriesData1 = [];
      this.seriesData2 = [];
      if (!this.form.chartDatas || this.form.chartDatas.length <= 0) {
        return;
      }
      this.form.chartDatas.forEach((item, index) => {
        this["chartData" + index].seriesData = this.spliceChart(item);
      });
    },
    // 拼接图表
    spliceChart (list) {
      let data1 = [];
      let data2 = [];
      if (!list || list.length <= 0) {
        return [];
      }
      list.forEach((item) => {
        switch (item.flag) {
          case "110":
            data1.push(item.point);
            break;
          case "011":
            data2.push(item.point);
            break;
        }
      });
      let markLineData = [];
      data2.forEach((item) => {
        markLineData.push([
          {
            coord: [100, item[1]]
          },
          {
            coord: [item[0], item[1]]
          }
        ]);
        markLineData.push([
          {
            coord: [item[0], 0.1]
          },
          {
            coord: [item[0], item[1]]
          }
        ]);
      });
      const labelData = data2.map((item) => {
        return {
          value: item,
          label: {
            show: true,
            formatter: JSON.stringify(item),
            position: "top"
          },
          itemStyle: {}
        };
      });
      const chart1 = {
        data: data1,
        connectNulls: true,
        smooth: true,
        symbol: "circle",
        type: "line",
        markLine: {
          symbolSize: [1],
          label: { show: true },
          silent: true,
          data: markLineData
        }
      };
      const chart2 = {
        type: "scatter",
        symbolSize: 4,
        data: labelData
      };
      return [chart1, chart2];
    },
    cbr2Change () {
      Bus.$emit("cbr2Change", {
        page: this.page,
        jiscs: this.form.meicjs1,
        cbr: this.form.cbrpjz2p5,
      });
    },
    submitForm () {
      return this.form;
    },
    handleFocus (event) {
      handleFocus(event, this.page, this.form[event]);
    },
    handleKeyDown (event, rowIndex, colIndex) {
      const maxArr = [4, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8];
      const ref = handleKeyDown(event, rowIndex, colIndex, maxArr);
      if (this.$refs[ref]) {
        this.$refs[ref].focus();
      }
    },
    handlePaste (event, rowIndex, colIndex) {
      const nameAllArr = [
        ["liz", "guanrlds1", "guanrlds2", "liz", "guanrlds1", "guanrlds2", "liz", "guanrlds1", "guanrlds2"],
        ["liz", "guanrlds1", "guanrlds2", "liz", "guanrlds1", "guanrlds2", "liz", "guanrlds1", "guanrlds2"],
        ["liz", "guanrlds1", "guanrlds2", "liz", "guanrlds1", "guanrlds2", "liz", "guanrlds1", "guanrlds2"],
        ["liz", "guanrlds1", "guanrlds2", "liz", "guanrlds1", "guanrlds2", "liz", "guanrlds1", "guanrlds2"],
        ["liz", "guanrlds1", "guanrlds2", "liz", "guanrlds1", "guanrlds2", "liz", "guanrlds1", "guanrlds2"],
        ["liz", "guanrlds1", "guanrlds2", "liz", "guanrlds1", "guanrlds2", "liz", "guanrlds1", "guanrlds2"],
        ["liz", "guanrlds1", "guanrlds2", "liz", "guanrlds1", "guanrlds2", "liz", "guanrlds1", "guanrlds2"],
        ["liz", "guanrlds1", "guanrlds2", "liz", "guanrlds1", "guanrlds2", "liz", "guanrlds1", "guanrlds2"],
        ["liz", "guanrlds1", "guanrlds2", "liz", "guanrlds1", "guanrlds2", "liz", "guanrlds1", "guanrlds2"],
        ["liz", "guanrlds1", "guanrlds2", "liz", "guanrlds1", "guanrlds2", "liz", "guanrlds1", "guanrlds2"],
        ["liz", "guanrlds1", "guanrlds2", "liz", "guanrlds1", "guanrlds2", "liz", "guanrlds1", "guanrlds2"],
        ["liz", "guanrlds1", "guanrlds2", "liz", "guanrlds1", "guanrlds2", "liz", "guanrlds1", "guanrlds2"]
      ];
      const methodsAllArr = [
        ["calculateDanwyl", "calculateGuanrl", "calculateGuanrl", "calculateDanwyl", "calculateGuanrl", "calculateGuanrl", "calculateDanwyl", "calculateGuanrl", "calculateGuanrl"],
        ["calculateDanwyl", "calculateGuanrl", "calculateGuanrl", "calculateDanwyl", "calculateGuanrl", "calculateGuanrl", "calculateDanwyl", "calculateGuanrl", "calculateGuanrl"],
        ["calculateDanwyl", "calculateGuanrl", "calculateGuanrl", "calculateDanwyl", "calculateGuanrl", "calculateGuanrl", "calculateDanwyl", "calculateGuanrl", "calculateGuanrl"],
        ["calculateDanwyl", "calculateGuanrl", "calculateGuanrl", "calculateDanwyl", "calculateGuanrl", "calculateGuanrl", "calculateDanwyl", "calculateGuanrl", "calculateGuanrl"],
        ["calculateDanwyl", "calculateGuanrl", "calculateGuanrl", "calculateDanwyl", "calculateGuanrl", "calculateGuanrl", "calculateDanwyl", "calculateGuanrl", "calculateGuanrl"],
        ["calculateDanwyl", "calculateGuanrl", "calculateGuanrl", "calculateDanwyl", "calculateGuanrl", "calculateGuanrl", "calculateDanwyl", "calculateGuanrl", "calculateGuanrl"],
        ["calculateDanwyl", "calculateGuanrl", "calculateGuanrl", "calculateDanwyl", "calculateGuanrl", "calculateGuanrl", "calculateDanwyl", "calculateGuanrl", "calculateGuanrl"],
        ["calculateDanwyl", "calculateGuanrl", "calculateGuanrl", "calculateDanwyl", "calculateGuanrl", "calculateGuanrl", "calculateDanwyl", "calculateGuanrl", "calculateGuanrl"],
        ["calculateDanwyl", "calculateGuanrl", "calculateGuanrl", "calculateDanwyl", "calculateGuanrl", "calculateGuanrl", "calculateDanwyl", "calculateGuanrl", "calculateGuanrl"],
        ["calculateDanwyl", "calculateGuanrl", "calculateGuanrl", "calculateDanwyl", "calculateGuanrl", "calculateGuanrl", "calculateDanwyl", "calculateGuanrl", "calculateGuanrl"],
        ["calculateDanwyl", "calculateGuanrl", "calculateGuanrl", "calculateDanwyl", "calculateGuanrl", "calculateGuanrl", "calculateDanwyl", "calculateGuanrl", "calculateGuanrl"],
        ["calculateDanwyl", "calculateGuanrl", "calculateGuanrl", "calculateDanwyl", "calculateGuanrl", "calculateGuanrl", "calculateDanwyl", "calculateGuanrl", "calculateGuanrl"]
      ];
      const parameterArr = [
        ["0", "0", "0", "1", "1", "1", "2", "2", "2"],
        ["3", "3", "3", "4", "4", "4", "5", "5", "5"],
        ["6", "6", "6", "7", "7", "7", "8", "8", "8"],
        ["9", "9", "9", "10", "10", "10", "11", "11", "11"],
        ["12", "12", "12", "13", "13", "13", "14", "14", "14"],
        ["15", "15", "15", "16", "16", "16", "17", "17", "17"],
        ["18", "18", "18", "19", "19", "19", "20", "20", "20"],
        ["21", "21", "21", "22", "22", "22", "23", "23", "23"],
        ["24", "24", "24", "25", "25", "25", "26", "26", "26"],
        ["27", "27", "27", "28", "28", "28", "29", "29", "29"],
        ["30", "30", "30", "31", "31", "31", "32", "32", "32"],
        ["33", "33", "33", "34", "34", "34", "35", "35", "35"]
      ];
      const subscriptArr = [
        [0, 0, 0, 1, 1, 1, 2, 2, 2],
        [3, 3, 3, 4, 4, 4, 5, 5, 5],
        [6, 6, 6, 7, 7, 7, 8, 8, 8],
        [9, 9, 9, 10, 10, 10, 11, 11, 11],
        [12, 12, 12, 13, 13, 13, 14, 14, 14],
        [15, 15, 15, 16, 16, 16, 17, 17, 17],
        [18, 18, 18, 19, 19, 19, 20, 20, 20],
        [21, 21, 21, 22, 22, 22, 23, 23, 23],
        [24, 24, 24, 25, 25, 25, 26, 26, 26],
        [27, 27, 27, 28, 28, 28, 29, 29, 29],
        [30, 30, 30, 31, 31, 31, 32, 32, 32],
        [33, 33, 33, 34, 34, 34, 35, 35, 35]
      ];
      const data = handlePaste(event, rowIndex, colIndex, nameAllArr, methodsAllArr, parameterArr, subscriptArr);
      const { cols, nameSetArr, methodsSetArr, parameterSetArr, subscriptSetArr } = data;
      for (let a = 0; a < nameSetArr.length; a++) {
        for (let b = 0; b < nameSetArr[a].length; b++) {
          this.form.baDetailVos[subscriptSetArr[a][b]][nameSetArr[a][b]] = cols[a][b];
        }
      }
      for (let a = 0; a < methodsSetArr.length; a++) {
        for (let b = 0; b < methodsSetArr[a].length; b++) {
          // if (methodsSetArr[a][b] == "calculateShitzl") {
          // console.log(methodsSetArr[a][b], subscriptArr[a][b]);

          this.setCalculate(methodsSetArr[a][b], parameterSetArr[a][b]);
          // } else {
          // this.setCalculate(methodsSetArr[a][b], parameterSetArr[a][b][0], parameterSetArr[a][b][1]);
          // }
        }
      }
    },
    // 计算方法调用
    setCalculate (name, a, b, c, d, e) {
      this[name](a, b, c, d, e);
    }
  }
};
</script>

<style scoped>
.td1 {
  /* width: calc((100% / 15) * 1); */
  width: calc(40px * 1);
}

.td2 {
  /* width: calc((100% / 15) * 2); */
  width: calc(40px * 1);
}

.td3 {
  /* width: calc((100% / 15) * 3); */
  width: calc(40px * 1);
}

.td5 {
  /* width: calc((100% / 15) * 5); */
  width: calc(40px * 1);
}

.echarts-border {
  width: calc((210mm - 40mm - 6px) / 3 - 4px);
  height: 176px;
  padding: 2px !important;
  background-color: #ffffff !important;
}
</style>
